#include <QDebug>
#include <QSharedPointer>
#include <time.h>
#include <QFile>
#include <QTextStream>

#include "wyzkr688rfswremotehmidll.h"
#include "wyzkr688rfswinstance_global.h"


WyZkR688RFSWRemoteHmiDLL::WyZkR688RFSWRemoteHmiDLL(){
   PLU_FswTecPluginInstanceCreate(REMOTEHMI);
}

WyZkR688RFSWRemoteHmiDLL::~WyZkR688RFSWRemoteHmiDLL(){
    PLU_FswTecPluginInstanceDelete();
}

QWidget* WyZkR688RFSWRemoteHmiDLL::RegisiterPluginUi(){
    return PLU_FswTecPluginInstanceUiRegesiter();
}

void WyZkR688RFSWRemoteHmiDLL::FastTimerLoop(){
    TASK_uifast_UiDataUpdate();                     //ui状态键界面更新
    TASK_uifast_ForceScopeUpdate();                 //力曲线刷新
    TASK_uifast_RobotScopeUpdate();
}
void WyZkR688RFSWRemoteHmiDLL::SlowTimerLoop(){

}

void WyZkR688RFSWRemoteHmiDLL::BackendDataRecv(QByteArray Data){
    TASK_RemoteDataRecv(Data);
}
void WyZkR688RFSWRemoteHmiDLL::BackendDataSend(QByteArray& Data){
    TASK_RemoteDataSend(Data);
}
